import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)


const store=new Vuex.Store({
    state:{
        //定位城市ID
        cityId:"",
    },
    mutations:{
        setState(state, obj) {
            state[obj.key] = obj.value;
          }
    }
});

export default store;
